package connect3.team7.util;

import java.util.Properties;
import java.io.*;

public class ConfigProperties {

  private static Properties p;

  public static Properties getConfigProperties() {

    if (p == null) {
      try {
        p = new Properties();
        p.load(new FileInputStream("../config/config.properties"));
      } catch (Exception ex) {
        ex.printStackTrace();
      } 
    } else {
      return p;
    }

    return p;
  }
}
